package service.impl;

import dao.UserDao;
import dao.impl.UserDaoImpl;
import pojo.User;
import service.UserService;

import java.util.List;

public class DeptServiceImpl implements UserService {
    @Override
    public List<User> findAll() {
        UserDao userdao=new UserDaoImpl();
        List<User> users=userdao.findAll();
        return users;

    }
}